package com.demo.pattern.corp.pipeline.handle.impl;

import com.demo.pattern.corp.entity.DemoEntity;
import com.demo.pattern.corp.pipeline.handle.IContextHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class ModelInstanceSaver implements IContextHandler<DemoEntity> {
 
    public boolean handle(DemoEntity context) {
        log.info("--保存模型实例到相关DB表--");

        // TODO: 2022年4月15日, 015  保存模型实例
 
        return true;
    }
}